package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.entity.Dish;
import com.itheima.reggie.entity.dto.DishDto;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

public interface DishService extends IService<Dish> {
    void saveWhitFlavor(DishDto dishDto);


    Page<DishDto> pageByName(int page , int pageSize, String name);


    public DishDto gteByIdFlavor( Long id);

    void updateWhitFlavor(DishDto dishDto);

    void removeWhitDish(List<Long> ids);

}
